//
//  MHMHRedPacketOrderRecordItemViewModel.h
//  MiaoCircle
//
//  Created by 许正荣 on 2018/11/4.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHViewModel.h"
#import "MHRedHistoryRecord.h"
NS_ASSUME_NONNULL_BEGIN

@interface MHRedPacketOrderRecordItemViewModel : MHViewModel

@property(nonatomic, strong) MHRedHistoryRecord *model;
// 72 + 30  = 102;
@property (nonatomic, readwrite, assign) CGRect coverImageFrame;

@property (nonatomic, readwrite, strong) YYTextLayout *contentLableLayout;
@property (nonatomic, readwrite, assign) CGRect contentFrame;

@property (nonatomic, readwrite, strong) YYTextLayout *timeAndSourceLayout;
@property (nonatomic, readwrite, assign) CGRect timeAndSourceFrame;

@property (nonatomic, readwrite, strong) YYTextLayout *amountLayout;
@property (nonatomic, readwrite, assign) CGRect amountFrame;
- (instancetype)initWithModel:(id )model;


@end

NS_ASSUME_NONNULL_END
